import rospy
from std_msgs.msg import String


rospy.init_node('recognization')
rate = rospy.Rate(10) # 10Hz
cmd_pub = rospy.Publisher("/recognize_gcs/cmd", String, queue_size=10)
cmd = ""
count = 0
while not rospy.is_shutdown():
    count += 1
    if count == 50:
        cmd = "FORM_1"
        cmd_pub.publish(cmd)
    elif count ==250:
        cmd = "FORM_2"
        cmd_pub.publish(cmd)
    elif count == 350:
        cmd = "FORM_3"
        cmd_pub.publish(cmd)
    elif count == 450:
        cmd = "FORM_4"
        cmd_pub.publish(cmd)
    rate.sleep()